package cn.bb.bbstudy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment implements Serializable {
    /**
    * 自增id
    */
    private Integer id;

    /**
    * 评论唯一id
    */
    private String commentId;

    /**
    * 1博客 2问答
    */
    private Integer topicCategory;

    /**
    * 评论主题id
    */
    private String topicId;

    /**
    * 评论者id
    */
    private String userId;


    /**
    * 评论者昵称
    */
    private String userName;

    /**
    * 评论者头像
    */
    private String userAvatar;

    /**
    * 评论内容
    */
    private String content;

    /**
    * 评论创建时间
    */
    private Date gmtCreate;

    private static final long serialVersionUID = 1L;

}